/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.commons.dto;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Wenbo Sun
 */
public class TimeTableDTO implements Serializable{

    private long timeId;
    private Date startTime;
    private double travelPeriod;
    private int seatAvail;

    public TimeTableDTO() {
    }

    public TimeTableDTO(long timeId, Date startTime, double travelPeriod, int seatAvail) {
        this.timeId = timeId;
        this.startTime = startTime;
        this.travelPeriod = travelPeriod;
        this.seatAvail = seatAvail;
    }

    public long getTimeId() {
        return timeId;
    }

    public void setTimeId(long timeId) {
        this.timeId = timeId;
    }


    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public double getTravelPeriod() {
        return travelPeriod;
    }

    public void setTravelPeriod(double travelPeriod) {
        this.travelPeriod = travelPeriod;
    }

    public int getSeatAvail() {
        return seatAvail;
    }

    public void setSeatAvail(int seatAvail) {
        this.seatAvail = seatAvail;
    }
}
